<!-- //审核成功 -->
<template>
	<view>
		<!-- 资料提交成功 -->
		<view class="name">
			<view>资料提交成功</view>
			<view class="xian"></view>
		</view>
		<!-- //内容 -->
		<view class="cont">
			我们正在努力审核您的入驻申请 ,<text>1-3工作日 </text>即 可完成审核，审核结果会通过平台发送通知，请注意接收！                                                  
                            
		</view>
		<!-- 须知 -->
		<view class="tell">
			<view class="yuan">
				<text class="icon iconfont">&#xe603;</text>
			</view>
			<view class="tell_text">
				<view>须知：</view>
				
			</view>
		</view>
		<view class="tell_text2">若审核不通过，请重新上传资料审核。审核通过后，即可免费试用；
			                            
		</view>
		<view class="back">
			{{number}}秒后将返回
		</view>
		<!-- 等待审核 -->
		<view class="wait">
			<view class="boxs">
				<text>等待审核</text>
			</view>
			
		</view>
	</view>
</template>

<script>
	export default {
		data(){
			return{
				number:10
			}
		},
		methods:{
			times(){
				let time = null
				let times = setInterval(()=>{
					this.number--
					if(this.number==0){
						clearInterval(times)
						uni.switchTab({
							url:'/pages/index/index',
							fail(err) {
								console.log(err)
							}
						})
					}
					
				},1000)
			}
		},
		mounted() {
			this.times()
		}
	}
</script>

<style scoped lang="less">
	.name{
		padding-top: 145rpx;
		text-align: center;
		font-size: 44rpx;
		font-family: PingFang;
		font-weight: bold;
		color: #282828;
		.xian{
			margin: 27rpx auto;
			width: 36px;
			height: 5rpx;
			background: #00C6C2;;
		}
	}
	//内容
	.cont{
		margin-top: 100rpx;
		padding: 0 37rpx;		
		font-size: 32rpx;
		font-family: PingFang;
		font-weight: 500;
		color: #414141;
		line-height: 52rpx;
		text{
			color: #282828;
			font-weight: bold;
		}
	}
	//须知
	.tell{
		display: flex;
		align-items: center;
		padding: 0 43rpx;
		margin-top: 100rpx;
		.yuan{
			width: 34rpx;
			height: 34rpx;
			background: #00C6C2;
			border-radius: 50%;
			text-align: center;
			line-height: 34rpx;
			margin-right: 13rpx;
			.iconfont{
				color: white;
				font-size: 32rpx;
			}
		}
		.tell_text{
			color: #282828;
			font-size: 32rpx;
			font-weight: bold;
			line-height: 52rpx;
		
		}
	}
	.tell_text2{
		padding: 0 90rpx;
		font-size: 32rpx;
		font-family: PingFang;
		
		color: #515151;
		line-height: 52rpx;
	}
	//10秒返回
	.back{
		text-align: center;		
		font-size: 32rpx;
		font-family: PingFang;
		font-weight: 500;
		color: #00C6C2;
		margin-top: 86rpx;
	}
	//等待审核
	.wait{
		padding: 0 23rpx;
		margin-top: 150rpx;
		.boxs{
			background: #00C6C2;
			text-align: center;
			padding: 30rpx 0rpx;
			text{
				opacity: 0.8;
				font-size: 36rpx;
				font-family: PingFang;
				font-weight: bold;
				color: #FFFFFF;
			}
		}
		
	}
</style>
